from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^list/(?P<category_id>\d+)/skus/$',
        views.ListView.as_view()),
    # 热销商品排行
    url(r'^hot/(?P<category_id>\d+)/$', views.HotGoodsView.as_view()),
    url(r'^search/$', views.MySearchView()),
    # 记录详情页的访问量
    url(r'^detail/visit/(?P<category_id>\d+)/$', views.DetailVisitView.as_view()),
]
